﻿using SIG.Resources.Admin;
using System.ComponentModel.DataAnnotations;

namespace SIG.InputModel.Admin.Albums
{
    public class PhotoIM
    {
        public int Id { get; set; }
        [Display(ResourceType = typeof(Labels), Name = "Title")]
        [Required(ErrorMessageResourceType = typeof(Validations), ErrorMessageResourceName = "Required")]
        public string Title { get; set; }

        [Display(ResourceType = typeof(Labels), Name = "Thumbnail")]      
        public string Thumbnail { get; set; }
        [Display(ResourceType = typeof(Labels), Name = "ImageURL")]
        [Required(ErrorMessageResourceType = typeof(Validations), ErrorMessageResourceName = "Required")]
        public string FullImageURL { get; set; }

        [Display(ResourceType = typeof(Labels), Name = "Importance")]
        public int Importance { get; set; }

        [Display(ResourceType = typeof(Labels), Name = "Album")]
        [Required(ErrorMessageResourceType = typeof(Validations), ErrorMessageResourceName = "Required")]
        public int AlbumId { get; set; }
    
        [Display(ResourceType = typeof(Labels), Name = "Active")]
        public bool Active { get; set; }


    }
}
